const HOST = 'http://localhost:8080/v1';
const ROLE_KEY = 'award-role';
const CLASSID_KEY = 'tongji-math-course-private-classid';
const UID_KEY = 'award-uid'
const UNAME_KEY = 'award-username'
const TOKEN_KEY='Award-token'
const ROLE_MAP = {
  'student': 0,
  'teacher': 1,
};

export {
  HOST,
  ROLE_KEY,
  CLASSID_KEY,
  UID_KEY,
  TOKEN_KEY,
  ROLE_MAP,
  UNAME_KEY
}

import stAvatar from '@/assets/avatar/student.png'
import tcAvatar from '@/assets/avatar/teacher.png'
const avatarMap = {
  'student': stAvatar,
  'teacher': tcAvatar,
  '0': stAvatar,
  '1': tcAvatar
}
const organizationMap = {
  '10001': '学校'
}
export {
  organizationMap,
  avatarMap
}
